#!/bin/bash

port=5991

for i in {1..2}
do
  echo "hello 127.0.0.1:5990 continue" > in.txt
  python peer.py "p$i" 10 $port < in.txt &
  let port+=1
done